package com.zzt.zt_lifecycle;

import android.util.Log;

import androidx.annotation.NonNull;
import androidx.lifecycle.DefaultLifecycleObserver;
import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleEventObserver;
import androidx.lifecycle.LifecycleOwner;

/**
 * @author: zeting
 * @date: 2022/12/19
 */
public class MLifecycleV3 implements LifecycleEventObserver {
    private static final String TAG = "Lifecycle  MLifecycleV3";

    @Override
    public void onStateChanged(@NonNull LifecycleOwner source, @NonNull Lifecycle.Event event) {
        Log.i(TAG, ">>>>>>> onStateChanged source:" + source + " event:" + event);
    }
}
